package com.czxy.changgou3.utils;

import lombok.Getter;

/**
 * @ClassName PayState
 * @Description TODO
 * @Author MR.Zhang
 * @Date 2020/5/11 20:01
 * @Version 1.0
 **/
@Getter
public enum  PayState {
    NOT_PAY(0,"未支付"),SUCCESS(1,"支付成功"),CLOSED(2,"已关闭"),PAY_ERROR(3,"支付失败");

    PayState(int code,String desc) {
        this.code = code;
        this.desc = desc;
    }

    private int code;           //自定义编码
    private String desc;        //描述信息

}
